﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModelLayer
{
    public class Edge
    {
        private int _edgeId;
        private Station _from;
        private Station _to;
        private int _cost;

        public Edge(Station from, Station to)
        {
            this._from = from;
            this._to = to;
        }

        public int EdgeId
        {
            get { return _edgeId; }
            set { _edgeId = value; }
        }
        
        public Station From
        {
            get { return _from; }
        }

        public Station To
        {
            get { return _to; }
        }

        public int Cost
        {
            get { return _cost; }
            set { _cost = value; }
        }
    }
}
